package com.hjj.services;

import com.hjj.beans.Type;
import com.hjj.mapper.TypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class TypeServicesImp implements TypeServices{
    @Autowired
    TypeMapper typeMapper;

    @Override
    public ArrayList<Type> getAll() {
        return typeMapper.getAll();
    }
}
